export function queryRecordList(params) {
    return {
        baseURL: import.meta.env.VITE_API_PETSLIB,
        url: `/report/list`,
        params,
    }
}

export function queryRecordDetail(id, params) {
    return {
        baseURL: import.meta.env.VITE_API_PETSLIB,
        url: `/report/info/${id}`,
        params,
    }
}

export function querySearchTags(data) {
    return {
        baseURL: import.meta.env.VITE_API_PETSLIB,
        url: '/search/get/tags',
        method: 'post',
        data: {
            limit: -1,
            ...data,
        },
    }
}

export function querySelectOption() {
    return {
        baseURL: import.meta.env.VITE_API_PETSLIB,
        url: '/report/select-option',
    }
}